Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle WebAuthn challenge having multiple factors #6945

Merged
merged 5 commits into from
Mar 4, 2024

Conversation

scotttrinh
Copy link
Contributor

We made some big changes late in the game for allowing multiple WebAuthn factors for a given (email, user_handle) pair, but didn't update this in the authentication challenge flow.

Since we cannot remove the old link, this adds an additional link and ignores the old one.

@scotttrinh scotttrinh changed the title Allow passing WebAuthn user_handle in request body Handle WebAuthn challenge having multiple factors Feb 29, 2024
@msullivan
Copy link
Member

I would kind of prefer if we also looked at the old link, but I guess it's not totally critical for something like this

Base automatically changed from webauthn-user-handle to master March 1, 2024 13:49
@scotttrinh
Copy link
Contributor Author

@msullivan

Oh yeah, I remember we talked about that. Lemme see if it's easy to distinct union them together in the query so that everything else just keeps working.

We made some big changes late in the game for allowing multiple WebAuthn
factors for a given (email, user_handle) pair, but didn't update this in
the authentication challenge flow.

Since we cannot remove the old link, this adds an additional link and
ignores the old one.
@scotttrinh scotttrinh force-pushed the webauthn-auth-challenge-multi-factor branch from f83cb55 to 2af19e9 Compare March 1, 2024 13:59
@scotttrinh
Copy link
Contributor Author

@msullivan2af19e9 (#6945)

Let me know if that makes sense!

@scotttrinh
Copy link
Contributor Author

@msullivan8fe06a2 (#6945)

As discussed, just removing the property.

@scotttrinh scotttrinh merged commit 8afb026 into master Mar 4, 2024
23 checks passed
@scotttrinh scotttrinh deleted the webauthn-auth-challenge-multi-factor branch March 4, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants